package com.fc.happyteam.utils;

public class Constant {
    public static final int DEFAULT_OFFSET = 0;
    public static final String DEFAULT_OFFSET_NAME = "offset";

    public static final int DEFAULT_LIMIT = 10;
    public static final String DEFAULT_LIMIT_NAME = "limit";


    public enum LoginMethod {
        /* 用户名密码登陆 */
        USER_NAME_PASSWORD("BY_USERNAME"),
        /* 手机号码密码登陆 */
        PHONE_PASSWORD("BY_PHONE"),
        /* 手机号码 验证码登陆 */
        PHONE_SMS_CODE("BY_SMS_CODE");

        private String value;

        private LoginMethod(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }

}
